package com.account.domains;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 还款计划执行任务
 * </p>
 *
 * @author ganhuaicheng
 * @since 2017-09-19
 */
@TableName("local_repayplan_task")
public class LocalRepayplanTask implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 自增Id
	 */
	@TableId(type = IdType.AUTO)
	private Long id;

	/**
	 * 项目id
	 */
	@TableField(value="pro_id")
	private Long proId;

	/**
	 * 还款计划id(帐单ID)
	 */
	@TableField(value="repayment_plan_id")
	private Long repaymentPlanId;

	/**
	 * 用户id
	 */
	@TableField(value="customer_id")
	private Long customerId;

	/**
	 * 还款金额
	 */
	private BigDecimal amt;

	/**
	 * 交易号
	 */
	private String dealsn;

	/**
	 * 还款结果(0:未执行 2:扣款中 3:扣款成功；4:还款失败)
	 */
	@TableField(value="repayment_result")
	private Integer repaymentResult;

	/**
	 * 还款结果描述(失败由帐户中心给失败讯息)
	 */
	@TableField(value="result_msg")
	private String resultMsg;

	/**
	 * 核销状态（1：未核销； 3：已核销；）
	 */
	@TableField(value="cancellation_status")
	private Integer cancellationStatus;

	/**
	 * 实还日期
	 */
	@TableField(value="repayment_date")
	private Date repaymentDate;

	/**
	 * 核销交易号
	 */
	@TableField(value="cancellation_dealsn")
	private String cancellationDealsn;

	/**
	 * 核销时间
	 */
	@TableField(value="cancellation_date")
	private Date cancellationDate;

	/**
	 * 银行卡号
	 */
	@TableField(value="bank_card")
	private String bankCard;

	/**
	 * 还款平台（默认：0；1：连连;2:平安;3:支付宝）
	 */
	@TableField(value="pay_platform")
	private Integer payPlatform;

	/**
	 * 还款来源 1：代扣；2：汇款;3:快捷支付）
	 */
	@TableField(value="fund_source")
	private Integer fundSource;

	/**
	 * 还款类型 1：正偿还款；2：逾期还款;3:提前还款;）
	 */
	@TableField(value="repayment_type")
	private Integer repaymentType;

	/**
	 * 处理次数
	 */
	@TableField(value="proccess_count")
	private Integer proccessCount;

	/**
	 * 任务执行时间
	 */
	@TableField(value="schedule_date")
	private Date scheduleDate;

	/**
	 * 逻辑删除标记  0：有效;1：删除
	 */
	@TableField(value="is_delete")
	private Integer isDelete;

	/**
	 * 创建时间
	 */
	@TableField(value="create_time")
	private Date createTime;

	/**
	 * 更新时间
	 */
	@TableField(value="update_time")
	private Date updateTime;



	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getProId() {
		return proId;
	}

	public void setProId(Long proId) {
		this.proId = proId;
	}

	public Long getRepaymentPlanId() {
		return repaymentPlanId;
	}

	public void setRepaymentPlanId(Long repaymentPlanId) {
		this.repaymentPlanId = repaymentPlanId;
	}

	public Long getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Long customerId) {
		this.customerId = customerId;
	}

	public BigDecimal getAmt() {
		return amt;
	}

	public void setAmt(BigDecimal amt) {
		this.amt = amt;
	}

	public String getDealsn() {
		return dealsn;
	}

	public void setDealsn(String dealsn) {
		this.dealsn = dealsn;
	}

	public Integer getRepaymentResult() {
		return repaymentResult;
	}

	public void setRepaymentResult(Integer repaymentResult) {
		this.repaymentResult = repaymentResult;
	}

	public String getResultMsg() {
		return resultMsg;
	}

	public void setResultMsg(String resultMsg) {
		this.resultMsg = resultMsg;
	}

	public Integer getCancellationStatus() {
		return cancellationStatus;
	}

	public void setCancellationStatus(Integer cancellationStatus) {
		this.cancellationStatus = cancellationStatus;
	}

	public Date getRepaymentDate() {
		return repaymentDate;
	}

	public void setRepaymentDate(Date repaymentDate) {
		this.repaymentDate = repaymentDate;
	}

	public String getCancellationDealsn() {
		return cancellationDealsn;
	}

	public void setCancellationDealsn(String cancellationDealsn) {
		this.cancellationDealsn = cancellationDealsn;
	}

	public Date getCancellationDate() {
		return cancellationDate;
	}

	public void setCancellationDate(Date cancellationDate) {
		this.cancellationDate = cancellationDate;
	}

	public String getBankCard() {
		return bankCard;
	}

	public void setBankCard(String bankCard) {
		this.bankCard = bankCard;
	}

	public Integer getPayPlatform() {
		return payPlatform;
	}

	public void setPayPlatform(Integer payPlatform) {
		this.payPlatform = payPlatform;
	}

	public Integer getFundSource() {
		return fundSource;
	}

	public void setFundSource(Integer fundSource) {
		this.fundSource = fundSource;
	}

	public Integer getRepaymentType() {
		return repaymentType;
	}

	public void setRepaymentType(Integer repaymentType) {
		this.repaymentType = repaymentType;
	}

	public Integer getProccessCount() {
		return proccessCount;
	}

	public void setProccessCount(Integer proccessCount) {
		this.proccessCount = proccessCount;
	}

	public Date getScheduleDate() {
		return scheduleDate;
	}

	public void setScheduleDate(Date scheduleDate) {
		this.scheduleDate = scheduleDate;
	}

	public Integer getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
